﻿/* 2011/11/12 */

namespace Cosmos.Windows.Themes
{
    /// <summary>
    /// 在动态效果中使用固定变化距离的主题。
    /// </summary>
    public abstract class DynamicDistanceTheme : DynamicTheme
    {
        /// <summary>
        /// 动态过程每帧图像的变化的距离（移动距离或展开距离)。
        /// </summary>
        protected readonly int _imageFrameDistance;

        protected DynamicDistanceTheme(ThemeSettings themeSettings, int threadSleepTimeout, int frameDistance)
            : base(themeSettings, threadSleepTimeout)
        {
            _imageFrameDistance = frameDistance;
        }
    }
}
